package com.github.common.extend.demo.config.transaction.distributed.message;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 消息管理器配置
 * @author X1993
 * @date 2022/9/22
 * @description
 */
@Configuration
@ConfigurationProperties(value = "message-manager")
@Data
public class MessageManagerProperties {

    /**
     * 消息推送最大重试次数
     */
    private int maxRetryCount = Integer.MAX_VALUE;

}
